<template>
	<view class="container">	
		<web-view :src="url" v-if="url"></web-view>
		<noempty v-else></noempty>
	</view>
</template>

<script>
export default {
	data() {
		return {
			url: "",		//预览地址
		}
	},
	onLoad(e) {
		this.url = decodeURIComponent(e.url)
	},
	methods: {
	}
}
</script>

<style>
.container {
	min-height: 100vh;
	padding: 30rpx;
}
</style>